Three-dimensional painting